package com.banshuibao.bsb_android.util;

/**
 * Created by zyh on 2017/4/11.
 */

public class QuickDoubleClickable {

    private static long oneTime;

    private final static int INTERVAL = 1000;

    public static boolean isDoubleClick() {
        if (System.currentTimeMillis() - oneTime <= INTERVAL)
            return true;
        oneTime = System.currentTimeMillis();
        return false;
    }

}
